//
//  JHWTabBar.h
//  JHWAssistant
//
//  Created by Magician on 2017/3/2.
//  Copyright © 2017年 jugame. All rights reserved.
//

#import <UIKit/UIKit.h>

@class YGTabBar;

@protocol YGTabBarDelegate <NSObject>
- (void)tabBarCenterBtnDidClick:(YGTabBar *)tabBar;
@end

@interface YGTabBar : UITabBar

/** tabbar的代理 */
@property (nonatomic, weak) id<YGTabBarDelegate> myDelegate ;

- (void)setCenterButtonSelected:(BOOL)selected;

@end


@interface CenterButton : UIView

@property (nonatomic, copy) void(^centerBtnblock)(void);

@end
